package org.teremail.mailbox;

public class EntryNotExistsException extends Exception {

    private static final long serialVersionUID = 454437929626129603L;
    private final String folderId;
    private final int uid;

    public EntryNotExistsException(String folderId, int uid) {
        super(String.format("Entry uid: %s, does not exist in folder: %d", 
                folderId, uid));
        this.folderId = folderId;
        this.uid = uid;
    }

    public String getFolderId() {
        return folderId;
    }
    
    public int getUid() {
        return uid;
    }
}
